package com.ftg.learn.cloud.product.service;

import com.ftg.learn.cloud.product.mapper.DeptMapper;
import com.ftg.learn.cloud.product.pojo.Dept;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author TJQ
 * @data 2019/10/30 10:40
 */
@Service
public class DeptService {

    @Autowired
    DeptMapper deptMapper;

    public List<Dept> showAll(){
        return deptMapper.showAll();
    }

}
